package com.athengzhi.springCloud.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Package: com.athengzhi.springCloud.config
 * @ClassName: OpenFeignLoggerConfig
 * @Author: lhz
 * @CreateTime: 2023/4/24 16:41
 * @Description:
 */
@Configuration
public class OpenFeignLoggerConfig {
    @Bean
    Logger.Level feignLoggerLevel(){
        return Logger.Level.FULL;  //fegin的日志级别有none,basic,headers,full四种日志级别，full是最全面的日志打印
    }
}
